package cn.stylefeng.guns.config;

import java.util.Map;

/**
 * Http日志请求记录
 * @author tandk
 * @date 2017/3/15 0015
 */
public class HttpLogEntity{
    /**
     * Http请求url
     */
    private String url;
    /**
     * Http请求参数
     */
    private Map<String, String[]> paramMap;
    /**
     * 请求类型
     */
    private String httpMethod;
    /**
     * 请求Ip
     */
    private String ip;
    /**
     * 执行请求的class
     */
    private String clazz;
    /**
     * 执行请求的方法
     */
    private String method;
    /**
     * 返回结果
     */
    private Object returnResult;
    /**
     * 请求开始时间
     */
    private long startTime;
    /**
     * 请求结束时间
     */
    private long endTime;
    /**
     * 请求消耗时间
     */
    private long httpTime;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, String[]> getParamMap() {
        return paramMap;
    }

    public void setParamMap(Map<String, String[]> paramMap) {
        this.paramMap = paramMap;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Object getReturnResult() {
        return returnResult;
    }

    public void setReturnResult(Object returnResult) {
        this.returnResult = returnResult;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public long getHttpTime() {
        return httpTime;
    }

    public void setHttpTime(long httpTime) {
        this.httpTime = httpTime;
    }
}
